package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult1;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.LocalMerchantsReq;
import com.example.xpvideo.entity.req.UpdateBusinessReq;
import com.example.xpvideo.entity.res.PhpLocalMerchantsRes;
import com.example.xpvideo.entity.res.PHPLocalMerchantsDetail;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/8/24 15:05
 * @description:
 */
public interface PhpLocalMerchnatsService {
    ResponseResult<PageResult1<List<PhpLocalMerchantsRes>>> list(LocalMerchantsReq localMerchantsReq) throws ErrorException;
    ResponseResult<PHPLocalMerchantsDetail> detail(Integer id) throws ErrorException;
    ResponseResult<Object> updateBusiness(UpdateBusinessReq updateBusinessReq) throws ErrorException;
}
